xen: sched: make sure a pCPU added to a pool runs the scheduler ASAP
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 7 Apr 2017 12:28:08 +0000 (14:28 +0200)
committerGeorge Dunlap <george.dunlap@citrix.com>
Fri, 7 Apr 2017 14:53:14 +0000 (15:53 +0100)
commitd92b0e7fca263e0671940d0d446c64e850ca595c
tree5a292f4166445d857b3d579036df2862a64e2189
parent64c9b1ed69d5d62516869d428c5508fba8789636
xen: sched: make sure a pCPU added to a pool runs the scheduler ASAP

When a pCPU is added to a cpupool, the pool's scheduler
should immediately run on it so, for instance, any runnable
but not running vCPU can start executing there.

This currently does not happen. Make it happen by raising
the scheduler softirq directly from the function that
sets up the new scheduler for the pCPU.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/schedule.c